
/**
 * 解构赋值
 * 下方是简写方法
 * import React from 'react'
 * const Component = React.Component;
 */
import React,{Component} from 'react'

class App extends Component {
    render () {
        return (
            // <div>Hello, world</div>
            /**
             * 下面是jsx写法 （javascript and xml）
             * var child1 = React.createElement('li',null,'jymb.info')
             * var child2 = React.createElement('li',null,'I Love React')
             * car root = React.createElement('ul',(className:'my-list'),child1,child2)
             */
            <ul>
                <li>jymb.info</li>
                <li>I Love React</li>
            </ul>
            
        )
    }
}

export default App

